/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Collections;

namespace SES.CMS.DO
{
   [Serializable ]
   public class cmsPromotionDO
    {

        /// <summary>
        /// Summary description for cmsPromotionDO
        /// </summary>
		
		
		#region Public Constants (Fields name)
					public const string PROMOTIONID_FIELD ="PromotionID";
		public const string PRODUCTID_FIELD ="ProductID";
		public const string OLDPRICE_FIELD ="OldPrice";
		public const string SALEPRICE_FIELD ="SalePrice";
		public const string FROM_FIELD ="From";
		public const string TO_FIELD ="To";
		public const string ISHOMEPAGE_FIELD ="IsHomePage";
		public const string ISACITVE_FIELD ="IsAcitve";
		public const string ISFINISHED_FIELD ="IsFinished";
		public const string ORDERID_FIELD ="OrderID";
		public const string GREATEDATE_FIELD ="GreateDate";

		#endregion
		
		#region Private Variables
					private Int32 _PromotionID;
		private Int32 _ProductID;
		private Int64 _OldPrice;
		private Int64 _SalePrice;
		private DateTime _From;
		private DateTime _To;
		private Boolean _IsHomePage;
		private Boolean _IsAcitve;
		private Boolean _IsFinished;
		private Int32 _OrderID;
		private DateTime _GreateDate;

		#endregion

		#region Public Properties
					public Int32 PromotionID
		{
			get
			{
				return _PromotionID;
			}
			set
			{
				_PromotionID = value;
			}
		}
		public Int32 ProductID
		{
			get
			{
				return _ProductID;
			}
			set
			{
				_ProductID = value;
			}
		}
		public Int64 OldPrice
		{
			get
			{
				return _OldPrice;
			}
			set
			{
				_OldPrice = value;
			}
		}
		public Int64 SalePrice
		{
			get
			{
				return _SalePrice;
			}
			set
			{
				_SalePrice = value;
			}
		}
		public DateTime From
		{
			get
			{
				return _From;
			}
			set
			{
				_From = value;
			}
		}
		public DateTime To
		{
			get
			{
				return _To;
			}
			set
			{
				_To = value;
			}
		}
		public Boolean IsHomePage
		{
			get
			{
				return _IsHomePage;
			}
			set
			{
				_IsHomePage = value;
			}
		}
		public Boolean IsAcitve
		{
			get
			{
				return _IsAcitve;
			}
			set
			{
				_IsAcitve = value;
			}
		}
		public Boolean IsFinished
		{
			get
			{
				return _IsFinished;
			}
			set
			{
				_IsFinished = value;
			}
		}
		public Int32 OrderID
		{
			get
			{
				return _OrderID;
			}
			set
			{
				_OrderID = value;
			}
		}
		public DateTime GreateDate
		{
			get
			{
				return _GreateDate;
			}
			set
			{
				_GreateDate = value;
			}
		}

        #endregion

	}
}
